package org.nstack.header.volume;

import org.nstack.header.message.APIMessage;
import org.nstack.header.message.APIParam;
import org.nstack.header.storage.backup.BackupStorageVO;
import org.nstack.header.identity.Action;


@Action(category = VolumeConstant.ACTION_CATEGORY)
@Deprecated
public class APIBackupDataVolumeMsg extends APIMessage implements VolumeMessage {

    @APIParam(resourceType = VolumeVO.class, checkAccount = true, operationTarget = true)
    private String uuid;

    @APIParam(required = false, resourceType = BackupStorageVO.class)
    private String backupStorageUuid;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getBackupStorageUuid() {
        return backupStorageUuid;
    }

    public void setBackupStorageUuid(String backupStorageUuid) {
        this.backupStorageUuid = backupStorageUuid;
    }

    @Override
    public String getVolumeUuid() {
        return uuid;
    }
 
    public static APIBackupDataVolumeMsg __example__() {
        APIBackupDataVolumeMsg msg = new APIBackupDataVolumeMsg();


        return msg;
    }

}
